Adventures & experiences in contemporary technology
When you set up your own web server or use a private server (virtual or physical), you will find that web servers run using the www-data account. That means that website files need to be accessible to that system account if not owned by it. The latter is mandatory if you you want WordPress to be able to update itself with needing FTP details.
It also means that you probably need scheduled jobs to be executed using the privileges possess by the www-data account. For instance, I use WP-CLI to automate spam removal and updates to plugins, themes and WordPress itself. Spam removal can be done without the www-data account but the updates need file access and cannot be completed without this. Therefore, I got interested in setting up cron jobs to run under that account and the following command helps to address this:
sudo -u www-data crontab -e
For that to work, your own account needs to be listed in /etc/sudoers or be assigned to the sudo group in /etc/group. If it is either of those, then entering your own password will open the cron file for www-data and it can be edited as for any other account. Closing and saving the session will update cron with the new job details.
In fact, the same approach can be taken for a variety of commands where files only can be access using www-data. This includes copying, pasting and deleting files as well as executing WP-CLI commands. The latter issues a striking message if you run a command using the root account, a pervasive temptation given what it allows. Any alternative to the latter has to be better from a security standpoint.
There are times when I just need to share some links outside the fleeting environment of Twitter, and this is where they might appear. The practice is very much in the spirit of the original weblog idea when it was about link sharing and not about writing down one’s thoughts as it subsequently became before sharing of photos, videos and other multimedia content became a mainstay of (legal) sharing for some people.
17:34 January 21, 2024
17:32 January 21, 2024
17:33 January 16, 2024
17:59 January 15, 2024
17:58 January 15, 2024
17:58 January 15, 2024
13:23 January 15, 2024
18:44 January 14, 2024
22:33 January 8, 2024
22:20 January 6, 2024
13:32 January 5, 2024
21:47 December 23, 2023
How to stop websites from sending Bitdefender Safepay notifications
18:19 December 18, 2023
18:18 December 18, 2023
16:33 December 18, 2023
22:26 November 19, 2023
19:02 November 10, 2023
19:14 November 9, 2023
23:04 October 20, 2023
20:26 July 31, 2023
So you want to build your own open source ChatGPT-style chatbot…
16:42 July 31, 2023
16:37 July 31, 2023
16:33 July 31, 2023
19:52 July 4, 2023
09:32 May 12, 2023
16:30 March 17, 2023
13:42 March 15, 2023
19:35 March 14, 2023
13:15 March 10, 2023
Set Up SSH Two-Factor Authentication (2FA) on Debian 11 Server
13:51 March 9, 2023
10:25 March 6, 2023
WordPress 4.6 Admin Font Change Fix – How To Restore Open Sans Font?
10:24 March 6, 2023
20:14 February 24, 2023
20:11 February 24, 2023
14:35 February 24, 2023
01:31 February 20, 2023
01:31 February 20, 2023
Why is the Filter Gallery Greyed Out in Photoshop and How to Fix it
10:18 February 7, 2023
11:00 January 27, 2023
How to take a full-page screenshot with a hidden Chrome shortcut
14:53 January 23, 2023
15:52 January 19, 2023
10:15 January 12, 2023
10:12 January 12, 2023
18:08 January 10, 2023
18:08 January 10, 2023
18:07 January 10, 2023
18:06 January 10, 2023
17:12 January 10, 2023
Proton Mail Bridge Microsoft Outlook for Windows 2019 setup guide
08:07 January 4, 2023
22:39 December 4, 2022
10:50 December 2, 2022
21:48 November 22, 2022
10:00 November 21, 2022
09:59 November 21, 2022
14:29 November 18, 2022
14:08 November 14, 2022
15:17 November 1, 2022
19:51 October 29, 2022
How to Upload or Download Files/Directories Using sFTP in Linux
19:50 October 29, 2022
19:49 October 29, 2022
17:00 October 27, 2022
[FIX] Memory integrity due to Incompatible drivers cannot be enabled in Windows 11
19:20 October 25, 2022
How can I redirect and rewrite my URLs with a .htaccess file?
13:49 October 25, 2022
How to change the maximum number of IMAP connections in Mozilla Thunderbird
20:49 October 23, 2022
18:06 October 23, 2022
13:46 October 23, 2022
11:49 October 22, 2022
11:49 October 22, 2022
Secure Tutanota desktop clients for Linux, Windows and Mac OS
11:48 October 22, 2022
11:47 October 22, 2022
11:47 October 22, 2022
How to Access the Hidden Symbols on Your Android Phone’s Keyboard
08:43 October 22, 2022
10:31 October 13, 2022
Enable or Disable Automatic Sign-in at Startup in Windows 11
10:25 October 13, 2022
13:25 October 12, 2022
12:03 October 12, 2022
11:52 October 12, 2022
4 Ways to Embed User Privacy & Data Security in Your Business
11:48 October 12, 2022
11:47 October 12, 2022
11:47 October 12, 2022
11:47 October 12, 2022
11:46 October 12, 2022
11:45 October 12, 2022
11:45 October 12, 2022
11:44 October 12, 2022
11:44 October 12, 2022
11:43 October 12, 2022
11:42 October 12, 2022
11:40 October 12, 2022
11:40 October 12, 2022
11:39 October 12, 2022
11:38 October 12, 2022
11:37 October 12, 2022
11:37 October 12, 2022
11:36 October 12, 2022
11:33 October 12, 2022
09:46 October 12, 2022
09:30 October 12, 2022
Introducing Improvements to the Opt-Out Form Feature in Matomo
14:14 October 11, 2022
17:51 October 3, 2022
12:06 September 29, 2022
15:01 September 28, 2022
10:58 September 15, 2022
How to automatically decline meeting invites from specific people in Outlook
10:46 August 25, 2022
16:06 August 20, 2022
15:34 July 29, 2022
15:32 July 29, 2022
15:32 July 29, 2022
12:02 July 28, 2022
12:01 July 28, 2022
10:57 July 27, 2022
10:57 July 27, 2022
10:56 July 27, 2022
10:55 July 27, 2022
10:55 July 27, 2022
18:39 July 26, 2022
18:38 July 26, 2022
18:37 July 26, 2022
18:36 July 26, 2022
18:35 July 26, 2022
18:35 July 26, 2022
18:34 July 26, 2022
18:34 July 26, 2022
09:16 July 25, 2022
19:03 July 22, 2022
What is a Cloud-Native Application Protection Platform (CNAPP)?
17:43 July 21, 2022
17:40 July 21, 2022
14:20 July 21, 2022
17:47 July 20, 2022
How to set rsync speed limit from eating all bandwidth with ‐‐bwlimit option
17:47 July 20, 2022
09:20 July 14, 2022
09:03 July 11, 2022
09:05 July 1, 2022
09:00 July 1, 2022
14:05 June 29, 2022
14:05 June 29, 2022
11:05 June 29, 2022
16:43 June 26, 2022
13:26 June 26, 2022
How to Reduce Eric Jones Spam (and all the other Contact Form Spam)
12:43 June 26, 2022
12:42 June 26, 2022
12:41 June 26, 2022
12:40 June 26, 2022
19:36 June 25, 2022
17:13 June 24, 2022
15:32 June 20, 2022
14:13 June 14, 2022
Handling False Positives with the OWASP ModSecurity Core Rule Set
11:10 June 14, 2022
How To Use a Multimeter to Measure Voltage, Current and More
13:11 May 26, 2022
13:10 May 26, 2022
15:36 May 9, 2022
14:53 April 27, 2022
19:28 March 27, 2022
19:27 March 27, 2022
20:25 March 17, 2022
15:22 March 16, 2022
09:10 February 26, 2022
Show Amount Of Posts, Pages, Categories, Tags, Comments For WordPress Themes
09:09 February 26, 2022
How to Develop a WordPress Theme from Scratch – Beginners Guide
09:08 February 26, 2022
Count the number of posts in the custom post type in WordPress
09:41 February 23, 2022
09:41 February 23, 2022
20:59 February 22, 2022
18:54 February 22, 2022
10:19 February 22, 2022
21:24 February 21, 2022
21:24 February 21, 2022
18:52 February 18, 2022
18:51 February 18, 2022
18:51 February 18, 2022
18:50 February 18, 2022
How To Configure Apache HTTP with MPM Event and PHP-FPM on Ubuntu 18.04
16:45 February 18, 2022
Protecting WordPress with Open Source Web Application Firewall ModSecurity
14:35 February 16, 2022
14:35 February 16, 2022
09:32 February 16, 2022
09:26 February 15, 2022
18:56 February 14, 2022
How To Configure Nginx to Use Custom Error Pages on Ubuntu 14.04
09:24 February 14, 2022
19:42 February 13, 2022
19:42 February 13, 2022
19:41 February 13, 2022
13:02 February 13, 2022
08:55 February 13, 2022
08:54 February 13, 2022
08:53 February 13, 2022
How To Install Linux, Nginx, MySQL, PHP (LEMP Stack) on Ubuntu 18.04
09:03 February 11, 2022
09:03 February 11, 2022
09:02 February 9, 2022
20:35 February 8, 2022
20:34 February 8, 2022
20:33 February 8, 2022
10:02 February 8, 2022
09:59 February 8, 2022
09:57 February 8, 2022
09:57 February 8, 2022
09:56 February 8, 2022
09:55 February 8, 2022
09:54 February 8, 2022
09:54 February 8, 2022
09:53 February 8, 2022
Talkyard with Nginx as a reverse proxy and Letsencrypt for HTTPS
09:53 February 8, 2022
09:52 February 8, 2022
To Fix The Docker and UFW Security Flaw Without Disabling Iptables
09:51 February 8, 2022
09:47 February 8, 2022
09:47 February 8, 2022
09:46 February 8, 2022
09:46 February 8, 2022
Comments on a static website? That’s possible with utteranc.es!
09:39 February 8, 2022
09:37 February 8, 2022
09:35 February 8, 2022
09:29 February 8, 2022
09:29 February 8, 2022
15:35 February 5, 2022
15:34 February 5, 2022
Tutorial: How to Add Self-hosted Comments to Your Static Site
15:33 February 5, 2022
15:32 February 5, 2022
15:31 February 5, 2022
10:30 February 5, 2022
16:16 February 4, 2022
16:12 February 4, 2022
16:01 February 4, 2022
16:00 February 4, 2022
15:59 February 4, 2022
Build a Search Bar for Your Hugo Blog With a JSON Index and Some Vanilla JS
15:59 February 4, 2022
15:58 February 4, 2022
15:56 February 4, 2022
15:56 February 4, 2022
15:55 February 4, 2022
15:54 February 4, 2022
21:54 January 29, 2022
21:54 January 29, 2022
21:20 January 29, 2022
How the Bootstrap 4 Grid Works
This also helps with understanding Bootstrap 5 as well. That was something that I discovered while porting a website from WordPress to Hugo.
21:14 January 29, 2022
21:13 January 29, 2022
21:12 January 29, 2022
21:04 January 29, 2022
How to Open Link in New Tab with Hugo’s new Goldmark Markdown Renderer
21:04 January 29, 2022
21:03 January 29, 2022
21:02 January 29, 2022
21:02 January 29, 2022
21:01 January 29, 2022
21:00 January 29, 2022
Overview of the best commenting systems for your static website
11:55 January 27, 2022
11:54 January 27, 2022
11:52 January 27, 2022
11:50 January 27, 2022
11:49 January 27, 2022
11:49 January 27, 2022
11:48 January 27, 2022
11:48 January 27, 2022
11:47 January 27, 2022
09:00 January 24, 2022
18:16 January 23, 2022
18:16 January 23, 2022
18:15 January 23, 2022
18:14 January 23, 2022
08:36 January 23, 2022
How to upgrade Debian 10 to Debian 11 Bullseye using the CLI
08:32 January 23, 2022
15:51 January 22, 2022
15:17 January 22, 2022
11:13 January 22, 2022
11:12 January 22, 2022
11:12 January 22, 2022
11:11 January 22, 2022
11:11 January 22, 2022
11:06 January 22, 2022
11:05 January 22, 2022
10:48 January 22, 2022
11:07 January 20, 2022
13:00 January 19, 2022
15:14 January 18, 2022
13:55 January 16, 2022
18:22 January 13, 2022
13:17 January 8, 2022
18:12 January 2, 2022
18:12 January 2, 2022
18:11 January 2, 2022
17:59 December 24, 2021
17:04 December 10, 2021
16:56 December 10, 2021
10:07 December 9, 2021
10:05 December 9, 2021
13:47 December 7, 2021
11:36 December 2, 2021
15:11 November 30, 2021
14:44 November 30, 2021
18:55 November 29, 2021
[Postfix] – warning: mail_queue_enter: create file maildrop Permission denied
14:52 November 17, 2021
14:42 November 17, 2021
08:16 November 17, 2021
09:05 November 13, 2021
13:18 November 9, 2021
13:18 November 9, 2021
09:01 November 5, 2021
How to Enable clipboard and folder sharing in Qemu/KVM on Windows Guest
08:59 November 5, 2021
08:50 November 5, 2021
“Error 1067: The process terminated unexpectedly” on Windows 10, 7 & 8
16:38 November 4, 2021
Error: No CurrentVersion entry in Software/JavaSoft registry
10:00 November 4, 2021
20:40 November 2, 2021
20:38 November 2, 2021
20:37 November 2, 2021
20:37 November 2, 2021
13:43 November 2, 2021
How to Change the Default Browser in Windows 11, Even for Widgets and Search
How to Move the Taskbar to the Top in Windows 11
How to Replace the Start Menu in Windows 11
13:57 October 30, 2021
20:09 October 26, 2021
16:15 October 26, 2021
16:15 October 26, 2021
16:14 October 26, 2021
17:09 October 24, 2021
17:09 October 24, 2021
17:08 October 24, 2021
How To Convert VirtualBox Disk Image (VDI) and img to Qcow2 format
17:08 October 24, 2021
17:07 October 24, 2021
17:06 October 24, 2021
21:07 October 22, 2021
How to Enable HTTP/2 in Apache Web Server on Ubuntu and Debian
10:29 October 21, 2021
10:29 October 21, 2021
15:46 October 19, 2021
How to Run Windows 11 on a USB Drive (and Take it With You)
How to Bypass Windows 11’s TPM Requirement and Upgrade from Windows 10
13:12 October 12, 2021
15:31 October 8, 2021
15:30 October 8, 2021
15:29 October 8, 2021
Enable Virtualization-based Protection of Code Integrity in Microsoft Windows
15:28 October 8, 2021
18:25 October 5, 2021
17:05 October 5, 2021
11:47 October 2, 2021
11:46 October 2, 2021
19:21 October 1, 2021
13:26 September 29, 2021
14:48 September 28, 2021
15:14 September 25, 2021
Whitelist an IP using WAF -- ModSecurity Whitelisting IP addresses
10:59 September 25, 2021
14:56 September 24, 2021
14:56 September 24, 2021
09:03 September 24, 2021
09:03 September 24, 2021
09:02 September 24, 2021
09:02 September 24, 2021
13:07 September 23, 2021
13:06 September 23, 2021
13:06 September 23, 2021
09:10 September 23, 2021
09:09 September 23, 2021
17:09 September 22, 2021
17:08 September 22, 2021
17:07 September 22, 2021
17:07 September 22, 2021
09:12 September 22, 2021
16:22 September 21, 2021
08:35 September 20, 2021
Integrating AbuseIPDB with Fail2Ban -- Automatically Report Bad IPs
21:10 September 19, 2021
21:09 September 19, 2021
13:24 September 17, 2021
12:19 September 4, 2021
09:46 September 4, 2021
16:58 August 31, 2021
How to backup and load Cron Jobs from a File in Linux and UNIX? Crontab Command Example
16:58 August 31, 2021
14:19 August 27, 2021
14:19 August 27, 2021
08:46 August 18, 2021
18:26 August 17, 2021
18:26 August 17, 2021
18:25 August 17, 2021
Webmin: One big drawback to using this data centre management tool
10:32 August 13, 2021
18:09 August 12, 2021
18:05 August 12, 2021
How to prevent the “are you sure you want to leave this page?” prompt on Facebook?
18:05 August 12, 2021
Extending a Logical Volume on a Linux Virtual, Cloud or CloudNX server
11:41 August 11, 2021
11:41 August 11, 2021
11:40 August 11, 2021
18:00 July 27, 2021
17:59 July 27, 2021
17:59 July 27, 2021
19:07 July 24, 2021
11:03 July 23, 2021
Change user password in MySQL 5.7 with “plugin: auth_socket”
11:03 July 23, 2021
How to enable AMD Virtualization on the Aorus X570 Motherboard
09:30 July 15, 2021
08:04 July 15, 2021
18:09 July 13, 2021
08:16 July 13, 2021
13:58 July 11, 2021
08:36 July 8, 2021
08:35 July 8, 2021
15:40 July 6, 2021
09:28 July 3, 2021
09:06 July 2, 2021
10:13 July 1, 2021
How to install Windows 11 Insider preview on unsupported devices
14:55 June 28, 2021
13:30 June 24, 2021
23:47 June 5, 2021
16:38 June 3, 2021
13:27 June 3, 2021
10:02 June 1, 2021
11:00 May 28, 2021
10:59 May 28, 2021
10:58 May 28, 2021
10:58 May 28, 2021
10:57 May 28, 2021
dbxcli: A command line tool for Dropbox users and team admins
09:00 May 27, 2021
08:58 May 27, 2021
08:57 May 27, 2021
How to stop loading Microsoft Edge processes at startup on Windows 10
13:50 May 16, 2021
13:49 May 16, 2021
13:46 May 16, 2021
13:42 May 16, 2021
09:34 May 13, 2021
09:33 May 13, 2021
10:47 May 12, 2021
17:01 May 11, 2021
16:55 April 22, 2021
16:54 April 22, 2021
16:48 April 22, 2021
16:48 April 22, 2021
16:47 April 22, 2021
16:46 April 22, 2021
14:19 April 22, 2021
10:02 April 22, 2021
10:00 April 22, 2021
10:00 April 22, 2021
11:37 April 16, 2021
11:37 April 16, 2021
11:36 April 16, 2021
11:33 April 16, 2021
11:32 April 16, 2021
11:30 April 16, 2021
11:30 April 16, 2021
11:29 April 16, 2021
11:29 April 16, 2021
11:16 April 16, 2021
12:52 April 15, 2021
12:59 April 13, 2021
13:08 April 8, 2021
09:42 March 17, 2021
09:09 March 16, 2021
09:08 March 16, 2021
14:06 March 9, 2021
18:38 March 2, 2021
13:48 January 27, 2021
13:46 January 27, 2021
13:39 January 27, 2021
13:38 January 27, 2021
13:37 January 27, 2021
13:35 January 27, 2021
13:34 January 27, 2021
Connecting to Microsoft Exchange Calendar from Mozilla Thunderbird
13:03 January 27, 2021
11:10 January 10, 2021
11:09 January 10, 2021
11:08 January 10, 2021
11:07 January 10, 2021
11:07 January 10, 2021
09:26 January 7, 2021
09:41 December 17, 2020
Using mod_security2 with WordPress
WordPress – Mod_security problems with posts and comments fixed
17:59 December 14, 2020
17:46 December 12, 2020
20:54 December 6, 2020
20:53 December 6, 2020
14:51 November 23, 2020
How to force your computer to download the Windows 10 May 2020 Update
14:44 November 11, 2020
16:00 November 10, 2020
09:18 November 9, 2020
09:27 October 19, 2020
14:16 October 18, 2020
09:31 October 18, 2020
13:36 October 10, 2020
16:12 October 7, 2020
14:59 October 7, 2020
10:55 October 6, 2020
15:15 October 1, 2020
14:03 September 29, 2020
14:02 September 29, 2020
12:36 September 18, 2020
12:35 September 18, 2020
12:34 September 18, 2020
12:33 September 18, 2020
Everything you need to know about DNS -- Plus a list of free public DNS servers
12:27 September 18, 2020
Securing DNS across all of my devices with Pi-Hole + DNS-over-HTTPS + 1.1.1.1
10:47 September 18, 2020
16:11 September 17, 2020
17:04 September 11, 2020
Improve Firefox Performance on Linux by Turning WebRender On
16:46 September 9, 2020
How to Embed an External RSS Feed in WordPress Posts via Shortcode
13:43 July 31, 2020
19:03 July 18, 2020
13:43 July 13, 2020
17:51 July 4, 2020
09:33 June 16, 2020
Linux Mint 20 Blocks Snap App Installs, So Here’s the Workaround
09:30 June 16, 2020
08:11 June 10, 2020
09:31 June 4, 2020
13:48 March 8, 2020
17:11 March 2, 2020
14:27 February 29, 2020
17:05 February 26, 2020
14:55 February 23, 2020
14:51 February 23, 2020
10:35 February 20, 2020
Change User’s MySQL Password | Reset MySQL Root Password Guide
12:38 February 19, 2020
09:35 February 17, 2020
09:34 February 17, 2020
09:32 February 17, 2020
13:14 February 16, 2020
13:10 February 16, 2020
20:34 February 15, 2020
14:29 February 14, 2020
14:29 February 14, 2020
09:46 February 14, 2020
09:45 February 14, 2020
How to move docker data directory to another location on Ubuntu
09:45 February 14, 2020
The Complete Guide to “useradd” Command in Linux – 15 Practical Examples
09:43 February 14, 2020
09:42 February 14, 2020
20:30 February 12, 2020
How to Optimize and Compress JPEG or PNG Images in Linux Command Line
17:41 January 29, 2020
20:21 January 28, 2020
18:37 January 17, 2020
12:45 January 17, 2020
12:44 January 17, 2020
12:43 January 17, 2020
12:43 January 17, 2020
12:42 January 17, 2020
12:41 January 17, 2020
21:01 January 16, 2020
20:59 January 16, 2020
At the time of writing, this website uses an older version of TLS so you may see browser messages on visiting it. Hopefully, that will get sorted since it looks out for a security tool website.
20:57 January 16, 2020
12:19 January 15, 2020
12:17 January 15, 2020
The most important steps to take to make an Apache server more secure
12:17 January 15, 2020
How to Implement Security HTTP Headers to Prevent Vulnerabilities?
12:16 January 15, 2020
21:38 December 31, 2019
21:37 December 31, 2019
14:41 December 24, 2019
14:24 December 24, 2019
How To Protect an Apache Server with Fail2Ban on Ubuntu 14.04
This may refer to an older Ubuntu version but the advice contained in the article remains relevant to current ones. In fact, I have used it to harden some VPS systems that I have. Now, I only need to see what impact this action might have.
13:12 December 23, 2019
16:47 December 6, 2019
16:01 November 26, 2019
21:28 November 7, 2019
15:40 November 7, 2019
12:51 August 31, 2019
22:09 July 6, 2019
14:16 June 11, 2019
14:14 June 11, 2019
14:46 June 10, 2019
10:55 June 8, 2019
How to disable Sign-in screen acrylic (blur) background on Windows 10 May 2019 Update
11:47 May 22, 2019
11:39 January 30, 2019
Psensor – A Graphical Hardware Temperature Monitoring Tool for Linux
13:34 January 29, 2019
20:03 December 8, 2018
How to commit changes to a docker image
Five Ways to Slim Your Docker Images
09:59 December 8, 2018
09:58 December 8, 2018
14:04 December 6, 2018
15:53 December 5, 2018
Show the slide number and total number of slides on every PowerPoint slide
21:28 December 4, 2018
19:53 December 4, 2018
18:03 November 26, 2018
Configure Postfix to Send Mail Using Gmail and Google Apps on Debian or Ubuntu
18:02 November 26, 2018
Configure Postfix to Send Mail Using an External SMTP Server
18:01 November 26, 2018
18:01 November 26, 2018
18:00 November 26, 2018
11:09 November 26, 2018
11:07 November 26, 2018
How to Setup a Complete Mail Server (Postfix) using ‘SquirrelMail’ (Webmail) on Ubuntu/Debian
14:51 November 25, 2018
11:43 November 25, 2018
How to Configure WordPress to Use SMTP For Sending Emails Tutorial
11:42 November 25, 2018
11:41 November 25, 2018
11:41 November 25, 2018
11:39 November 25, 2018
11:38 November 25, 2018
11:38 November 25, 2018
11:37 November 25, 2018
10:51 November 25, 2018
10:45 November 25, 2018
20:31 November 24, 2018
20:30 November 24, 2018
17:44 November 24, 2018
17:37 November 24, 2018
Redirecting HTTP to HTTPS Using .htaccess File: Step by Step
21:45 November 22, 2018
21:43 November 22, 2018
12:10 November 17, 2018
12:08 November 17, 2018
apt-get install linux-image-extra getting “W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.”
12:04 November 17, 2018
15:40 November 4, 2018
Here are the 13 most useful Mac shortcuts that will help you do everything faster
11:02 October 21, 2018
09:05 October 13, 2018
11:48 September 22, 2018
16:12 September 20, 2018
Use an Easy PowerShell Command to Search Files for Information
12:20 September 19, 2018
10:06 September 9, 2018
21:18 August 5, 2018
13:42 July 22, 2018
17:27 July 21, 2018
14:27 July 15, 2018
16:27 July 13, 2018
10:13 June 25, 2018
11:35 June 21, 2018
17:17 June 8, 2018
12:24 June 8, 2018
15:13 May 31, 2018
15:13 May 31, 2018
20:48 May 29, 2018
20:47 May 29, 2018
11:02 May 28, 2018
10:26 May 28, 2018
09:54 May 28, 2018
16:02 May 25, 2018
Performance optimizations you can apply today to load the Matomo JavaScript tracker faster
16:01 May 25, 2018
Different ways of embedding the Matomo tracking code for faster website performance
11:24 May 16, 2018
23:18 May 13, 2018
23:15 May 13, 2018
23:13 May 13, 2018
11:02 May 12, 2018
10:59 May 12, 2018
10:52 May 12, 2018
10:32 May 12, 2018
10:30 May 12, 2018
10:27 May 12, 2018
21:42 May 5, 2018
12:23 April 18, 2018
How to troubleshoot the error code “SEC_ERROR_UNKNOWN_ISSUER” on secure websites
09:34 April 15, 2018
10:08 April 14, 2018
22:25 April 13, 2018
18:20 April 10, 2018
Write your best resume in Word with help from LinkedIn in Resume Assistant
09:59 March 29, 2018
16:37 March 28, 2018
15:58 March 28, 2018
14:12 March 28, 2018
14:00 March 28, 2018
10:35 March 27, 2018
10:33 March 27, 2018
14:03 March 26, 2018
14:05 March 17, 2018
14:01 March 17, 2018
13:59 March 17, 2018
11:11 March 17, 2018
13:53 March 7, 2018
10:17 November 25, 2017
10:17 November 16, 2017
Diving Into the New Gutenberg WordPress Editor (Pros and Cons)
19:11 November 15, 2017
19:09 November 15, 2017
16:44 October 31, 2017
23:34 October 25, 2017
The care and feeding of software engineers (or, why engineers are grumpy)
23:32 October 25, 2017
23:31 October 25, 2017
19:20 October 24, 2017
19:19 October 24, 2017
19:18 October 24, 2017
23:37 October 22, 2017
23:36 October 22, 2017
23:32 October 22, 2017
23:31 October 22, 2017
23:30 October 22, 2017
23:29 October 22, 2017
23:25 October 22, 2017
10:19 October 14, 2017
17:03 October 7, 2017
17:01 October 7, 2017
Get rid of those extra TIFFs & PSDs in your Lightroom Library fast!
11:57 September 15, 2017
09:47 September 11, 2017
09:45 September 11, 2017
17:11 August 13, 2017
14:21 July 22, 2017
12:13 July 8, 2017
20:03 July 1, 2017
18:58 June 21, 2017
17:03 April 24, 2017
12:01 April 2, 2017
Windows 7: Windows 7 Not Updating
Windows Update error “0x80070002” or “0x80070003”
Fix Windows Update errors by using the DISM or System Update Readiness tool
18:17 March 22, 2017
23:25 March 12, 2017
22:08 March 7, 2017
Review: Evoluent Vertical Mouse 4 (and how to make it work in Ubuntu)
11:14 February 25, 2017
18:38 February 16, 2017
18:34 February 16, 2017
10:35 February 5, 2017
00:45 December 3, 2016
16:02 July 18, 2016
18:21 June 9, 2016
15:22 May 13, 2016
15:13 January 15, 2016
Get rid of the annoying formatting pop-up when you paste in Word
11:15 December 5, 2015
16:23 December 4, 2015
14:08 December 3, 2015
14:07 December 3, 2015
22:16 November 12, 2015
11:08 November 12, 2015
Fedora 23/22/21 nVidia Drivers Install Guide
09:56 October 30, 2015
20:15 October 29, 2015
20:10 October 29, 2015
20:06 October 29, 2015
21:01 October 2, 2015
22:02 September 28, 2015
11:28 August 7, 2015
16:14 July 27, 2015
11:18 July 24, 2015
18:40 July 10, 2015
15:16 July 9, 2015
18:41 July 6, 2015
07:24 July 2, 2015
The Command Prompt is Outdated: 2 Command Prompt Replacements for Windows
6 Great Windows 10 Features You Can Get Today on Windows 7 or 8
07:35 June 23, 2015
20:12 June 18, 2015
12:08 May 8, 2015
20:00 May 4, 2015
20:00 May 4, 2015
11:07 May 4, 2015
10:51 May 1, 2015
10:44 April 16, 2015
10:39 April 13, 2015
09:45 April 12, 2015
09:45 April 12, 2015
15:04 April 11, 2015
12:42 April 6, 2015
14:01 April 3, 2015
How to fix “System program problem detected” error on Ubuntu
19:27 March 28, 2015
11:34 March 27, 2015
11:21 March 27, 2015
11:04 March 27, 2015
16:51 March 26, 2015
16:53 March 18, 2015
04:00 March 7, 2015
02:39 March 5, 2015
Google Translate CLI Lets You Translate Text From The Command Line
01:51 March 5, 2015
23:19 February 21, 2015
14:25 February 19, 2015
11:56 February 16, 2015
22:29 February 9, 2015
15:45 February 5, 2015
Switch Windows by Hovering the Mouse Over a Window in Windows 7 or Vista
10:32 February 4, 2015
15:30 January 30, 2015
10:17 January 21, 2015
12:56 December 31, 2014
10:05 December 11, 2014
17:05 December 9, 2014
16:22 December 6, 2014
18:45 December 5, 2014
The crop tool is stuck in a fixed shape. How can I make it work properly?
14:55 November 26, 2014
22:12 November 18, 2014
How To Install MATE Desktop on Ubuntu 14.04 LTS
Cinnamon 2.4 Debuts With New Features, Here’s How To Install It In Ubuntu
FSF-Endorsed Linux Distro ‘Trisquel 7.0′ Released
19:53 November 11, 2014
21:54 November 4, 2014
21:52 November 4, 2014
22:30 October 30, 2014
21:34 June 11, 2014
18:57 January 24, 2014
Archive area of old releases of Java for those who need them.
In a previous post, I described how to add Perl modules in Linux Mint while mentioning that I hoped to add another that discusses the use of the Parallel::ForkManager module. This is that second post and I am going to keep things as simple and generic as they can be. There are other articles like one on the Perl Maven website that go into more detail.
The first thing to do is ensure that the Parallel::ForkManager module is called by your script and having the following line near the top will do just that. Without this step, the script will not be able to find the required module by itself and errors will be generated.
use Parallel::ForkManager;
Then, the maximum number of threads needs to be specified. While that can be achieved using a simple variable declaration, the following line reads this from the command used to invoke the script. It even tells a forgetful user what they need to do in its own terse manner. Here $0 is the name of the script and N is the number of threads. Not all these threads will get used and processing capacity will limit how many actually are in use so there is less chance of overwhelming a CPU.
my $forks = shift or die "Usage: $0 N\n";
Once the maximum number of available threads is known, the next step is to instantiate the Parallel::ForkManager object as follows to use these child processes:
my $pm = Parallel::ForkManager->new($forks);
With the Parallel::ForkManager object available, it is now possible to use it as part of a loop. A foreach loop works well though only a single array can be used with hashes being needed when other collections need interrogation. Two extra statements are needed with one to start a child process and another to end it.
foreach $t (@array) {
my $pid = $pm->start and next;
<< Other code to be processed >>
$pm->finish;
}
Since there often is other processing performed by script and it is possible to have multiple threaded loops in one, there needs to be a way of getting the parent process to wait until all the child processes have completed before moving from one step to another in the main script and that is what the following statement does. In short, it adds more control.
$pm->wait_all_children;
To close, there needs to be a comment on the advantages of parallel processing. Modern multi-core processors often get used in single threaded operations and that leaves most of the capacity unused. Utilising this extra power then shortens processing times markedly. To give you an idea of what can be achieved, I had a single script taking around 2.5 minutes to complete in single threaded mode while setting the maximum number of threads to 24 reduced this to just over half a minute while taking up 80% of the processing capacity. This was with an AMD Ryzen 7 2700X CPU with eight cores and a maximum of 16 processor threads. Surprisingly, using 16 as the maximum thread number only used half the processor capacity so it seems to be a matter of performing one’s own measurements when making these decisions.
UNIX (and Linux) does a wonderful trick with its file and folder shortcuts; it effectively treats them as file and folder transporters that transfer associate a file or folder that exists in one folder hierarchy with another and it is treated as if it exists in that hierarchy too. For example, the images folder under /www/htdocs/blog can have a link under /www/htdocs/ that makes it appear that its contents exist in both places without any file duplication. For instance, the pwd command cannot tell a folder from a folder shortcut. To achieve this, I use what are called symbolic links and the following command achieves the outcome in the example:
ln -s /www/htdocs/blog/images /www/htdocs/images
The first file path is the destination for the link while the second one is that for the link itself. I had a problem with Google Reader not showing up images in its feed displays so symbolic links rode to the rescue as they did for resolve a similar conundrum that I was encountering when editing posts in my hillwalking blog.
There are times when I feel the need to share some snippets with a longer lifespan than a tweet. This is a place for those and some yet may even turn into longer articles themselves. That already has happened for one of them, so there is something of a digital scrapbook in operation here.
13:08 January 8, 2024
Now that ownCloud has been acquired by Kiteworks, there is some uncertainty about what happens next. So far, there is an offer for ownCloud and Nextcloud users to move to Kiteworks’ proprietary platform. Nextcloud itself has been busy making use of the uncertainty to promote their own product line.
19:15 November 19, 2023
The open-source section of the website got a lot of tweaking in the last few weeks. The recipient of the attention was the operating system subsection. That got a full reorganisation with all the listings seeing new entries too. The desktop software also got a bit of attention, and other areas could get altered yet.
11:35 January 20, 2023
Recently, I have been having trouble with Nvidia drivers following a kernel update in Linux Mint (21.1 is the version that I am using). The kernel version has been rolled back from 5.19.x to 5.15.x, and I installed an old AMD graphics card as well. Things still are not perfect, though, so I will be looking out for a way to make things smoother. For now, all is good enough for the moment.
10:30 February 12, 2022
Google Analytics appears to be losing favour in the EU, if Matomo is to be believed. First, Austria outlawed its usage and no France follows suit. This naturally suits Matomo, a self-hosted open-source alternative for collecting website metrics, so it should not be any surprise that they are forthcoming with these details.
16:20 October 9, 2021
Here is the sequence of commands to use when upgrading from OpenMediaVault 4.x to 5.x. All need to be executed with elevated access privileges:
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/upgrade4to5 | sudo bash
reboot
Once your system has restarted and you have logged in again, then you execute these:
apt-get purge openmediavault-omvextrasorg resolvconf
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash
apt-get update
apt-get dist-upgrade
omv-salt deploy run nginx
omv-salt deploy run phpfpm
apt-get install usrmerge
omv-confdbadm migrate conf 5.0.0
15:19 October 9, 2021
Here are some North American online emporia fro buying computers, their components or peripherals:
09:06 September 24, 2021
Here are boilerplate commands for banning and unbanning IP addresses using Fail2ban:
fail2ban-client set <JAIL> banip <IP>
fail2ban-client set <JAIL> unbanip <IP>
13:09 July 27, 2020
If you ever need to install Linux kernel headers on an openSUSE instance in order to install VirtualBox Guest Additions, the following command should be executed in order to do the needful:
sudo zypper in kernel-source
10:37 February 5, 2017
Here is a possible way of resetting the CSS definition for a HTML element, class or ID:
#reset-this-parent {
all: initial;
* {
all: unset;
}
}
Browser support for the above may vary though.
10:39 November 23, 2016
After seeing messages like “The authenticity of host ‘hostname’ can’t be established” during ssh connections, I decided to investigate more and came up with the following solution:
sudo chown -v $USER ~/.ssh/known_hosts
My known_hosts file had gained root ownership so i could not write to it so changing the ownership to that of my own user account sorted the problem. An alternative could be to change the group assignment using chgrp and setting permissions using chmod but what I did sufficed for my needs.
06:30 November 23, 2016
When I ran into trouble with accessing my own websites using my broadband, I found that the solution was to change DNS Lookup Service to what Google offers. This was done on the router side and the IP addresses used were 8.8.8.8 and 8.8.8.4.
22:33 June 4, 2016
Here’s a way to convert DNG files to JPEG ones:
find -type f | grep DNG | parallel mogrify -format jpg {}
10:51 September 16, 2015
Here is a way to recursively delete folders and their contents in PowerShell:
Remove-Item .\foldertodelete -Force -Recurse
The Force switch silences any messages that otherwise would appear and the Recurse switch is what gets directories removed.
23:38 August 18, 2015
Thomson Reuters is changing over Open Calais at the end of August.
11:05 July 29, 2015
Motorola now selling phones direct to the public through its own store. Customisation options are available for more expensive models like Moto X and Nexus 6 too.
10:18 April 12, 2015
Devuan (pronounced like dev-one) is a fork of Debian that does not use systemd as Debian, like so many other distros, is doing. Part of the name must come from a collective calling itself Veteran UNIX Admin (VUA). There is no actual release just but one is intended for around the same time as Debian 8.0 gets released and donations are being solicted via the website.
18:51 February 20, 2015
Here is a handy way to get PowerShell to show files larger than a certain size:
get-childitem | where-object {$_.length -gt 10000}
|ft fullname, length -auto
19:40 December 1, 2014
When a VirtualBox upgrade broke the networking on a Windows 8.1, it was time to look at System Restore to see what it would do. It reverted version 4.3.20 to 4.3.15 and the network disconnection stopped. For now, I will remain with that older version after the misstep with the latest one. Sometimes it is best to stick with what is known to work.
20:38 October 30, 2014
With my deciding to try doing about my waistline during the summer (a bike got put on a trainer and around 30 minutes is spent on it most evenings while I also catch up some reading; now, I feel fitter and incursions into the countryside have an added air of confidence about them), an interest in fitness monitors has developed and the Pulse Ox from Withings has taken my eye due its being price of around £100. That makes it less than alternatives and it isn’t the only health gadget that the company does either with there being a blood pressure monitor in its range too. The Pulse Ox monitors such things as heart rate, activity such as walking and running, sleeping and weight too. It should work with your smartphone as well, which is a bonus. It is one of several like it with Samsung and Apple going in for phone apps and Microsoft releasing their Band device as well. This appears to be a growing area where I never expected to see mainstream technology companies having a role for themselves.
12:44 October 30, 2014
Ergotech now have useful desktop stands for tablet computers. There is one for a full size iPad and another for any other type of tablet. A standalone one on wheels also is available though I cannot see myself ever needing such an item.
20:24 October 20, 2014
Here are some more specialist information sources with search facilities:
18:53 October 7, 2014
Here is the test for the “Shellshock” vulnerability in the bash shell:
env x='() { :;}; echo vulnerable’ bash -c “echo this is a test”
It should not return the following:
vulnerable
this is a test
This would be acceptable:
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x’
this is a test
Also, just having this might be fine too:
this is a test
In case you need it, Redhat has more information on the bug that caused scare stories everywhere. Now, it is over to system administrators everywhere to do their bit now that bash has been patched.
21:36 August 24, 2014
Sometimes you need to create more than one directory level in a hierarchy at once and mkdir has the -p option for this purpose. That gets it to create any missing levels in a folder path and avoids warnings that would be issued otherwise.
16:18 August 21, 2014
Debian 8 is under development and has its first beta ready for download. XFCE is now the default desktop environment though it remains possible to install GNOME and GNOME Shell too. In fact, I successfully have given that a go in a VirtualBox installation and will keeping an eye on development so long as no system meltdowns occur. The version of the X Window system already is incompatible with VirtualBox 4.3.14 so we need to await a new version of the virtualisation software before we get access to advanced functions like full window desktop expansion. What we have at the moment works well enough to keep eye on development so we can wait for that full support.
18:31 August 6, 2014
Perfect Resize from onOne Software caught my eye for scaling up images after seeing it mentioned in a Outdoor Photography review of Avanquest PhotoZoom Professional. With a library of 6″ x 4″ prints, I am limited in how large I can make scanned images without they looking blurred and pixelated so that’s why my interest was aroused. There may be a free moment spent seeing what it might do in that situation yet.
16:24 August 2, 2014
Nvidia has a useful page on the difference between DVI-D and DVI-I. It came in handy when transitioning from VGA to DVI on my home PC’s. That made what appears on my Iiyama screen much sharper and allowed me to rid myself of a suspect VGA cable too.
21:42 June 11, 2014
Here are some interesting articles about EFI and UEFI that I uncovered during a recent episode of setting up dual booting of Windows 8.1 and Linux Mint 17 on a PC with EFI:
UEFI Dual-Boot -- Ubuntu 12.04.3 + Windows 8.1 (One GPT HDD)
11:53 May 3, 2014
In the U.K., BT allows you to divert your phone calls for a fee and I have made good use of it over the past year. The service is called Call Diversion and Eircom, Ireland’s counterpart to BT, offers Call Forwarding in Éire. Both are handy because redirecting a call to a mobile phone means that you know you are not missing any calls and that there is nothing lurking on an answering machine when you do get to your home or office. Landline telephony may seem less exciting these days than other forms of communication yet it still has its place and I would not get any nasty surprises along the path of life either. If only I had started doing this kind of thing earlier than I did…
20:12 April 4, 2014
Here’s a useful article about the ever useful locate command. Whether it is FreeBSD or Ubuntu that you are running, this article has a use and that especially when the locate database needs updating with the updatedb command.
20:54 March 12, 2014
A recent website redesign was well helped by modern.IE‘s collection of virtual machine appliances containing different versions of Windows and Internet Explorer. Depending on the host operating system that you are using, you have different options. For Linux, it is VirtualBox only while Windows gains VMware and Virtual PC too. It is a matter of just picking out what suits your situation from dropdown lists.
The first one that I picked was Vista with IE 7 and it was an interface that I had not seen for a while. For all the criticism, the operating system did work well though I wonder if it arrived before the computer hardware that it really needed in order to run smoothly. The dark theme cannot have helped its cause either, especially when compared with the much brighter Windows 7 or Windows 8.x. A Windows XP appliance with IE 6 was grabbed before it gets yanked and support for the elderly OS does finish in April. IE 6 probably is on its last legs so I probably can ignore it now but IE 7 might live longer yet. Window 7 appliances with IE 9 and IE 10 also were downloaded and confirmed that all was well in recent versions of IE when it came to the website. The Vista virtual machine allowed me to ensure that all looks acceptable on IE 7 too. The VM’s themselves contain evaluation versions of enterprise variants of Windows and have a limited lifespan though it is little trouble to reimport an appliance again to rest the clock if so required. In most cases, you extend the evaluation periods too through re-arming and there only are so many times that you can do that anyway. With Windows 8.x, it isn’t even a possibility anyway.
22:05 March 9, 2014
Today, I found an interesting article on CSS media queries and put it to some use for a website redesign that has been keeping me busy over the weekend. Twitter’s Bootstrap came in handy for this too. Now, it’s on to ridding the new design of any rough edges that remain in there. That can be an ongoing task and the site is here if you fancy a look to see what my efforts have produced.
16:20 February 26, 2014
Adding a new Zalman ZM450-GS power supply did little to sort the buzzing in my speakers but it has made the PC where it was installed so much quieter; a much larger fan spinning slower helps while still moving the required amount of air. It is 450W too and I am wondering if my main PC would benefit from a similar upgrade. That may be quieter than the other one was but the case was not a deluxe model so the change should do no harm. As for the speakers, moving them was the only way to get rid of the buzzing. Looking back on this now, it seems that one of them was far too close to a PC.
20:33 February 15, 2014
Currently, the spare PC appears to be causing buzzing on my main PC speakers and with my landline telephone when it is placed right under these. Removing it helps to cut it down but I fancy having a better fix and am wondering if a new power supply might help. Also, I am wondering if there are other sources too. In the meantime, I would like to share an article on the subject that I recently found: Kill Studio Hum and Buzz at the Source.
22:14 February 12, 2014
Applying latest set of updates to LMDE worked to get to Update 8 worked smoothly unlike some predecessors. This brought the latest version of Cinnamon so GNOME now is redundant. It will be interesting to see where things go next.
16:24 February 8, 2014
During the week, I discovered that Twitter is not a benign place to go ruminating. A sharp riposte in an unnecessary tone of voice was enough to bring on a sense of extra caution. Wherever you get humanity, you are likely to encounter and one had a go at me so some thoughts are going to be kept away from there from this point forward. Sometimes, you own website is a far better place to go ponder happenings in the world around you. After all, an ugly comment can be deleted and a rogue IP address blocked if things need to go that far. Of course. more civility would be best. Polite correction is the best course whenever it is warranted since we all are human and no one is beyond making mistakes.
16:15 February 8, 2014
On my outdoors website, I have been using a PHP script from Detect Mobile Browsers but this does not distinguish between Android running on a tablet and that running on a phone. Therefore, I have turned to another source of such scripting and that is working better so far. In fact, this offers more than just PHP but also Python, JavaScript and other scripting languages along with configuration files for web servers too. Apache, Nginx and IIS all have something for them. The logic essentially is based on Perl regular expression matching of user agent strings, not an infallible means but good enough for me along with a smattering of responsive design.
14:30 February 1, 2014
For anyone lost when faced with the changes Microsoft brought in with the launch of Windows 8 and largely retained in Windows 8.1, TechRadar has a useful article: 62 Windows 8 tips, tricks and secrets. What will prove especially interesting is where Microsoft goes next when many of their customers prefer the Windows 7 interface and are sticking with the elderly Windows XP. You only can get so far by telling your customers that they are wrong all of the time and the is competition in the form of Apple’s OS X and Google’s Chrome now.
14:23 February 1, 2014
TechRadar has a round-up of Best free photo editing software: 10 top image editors you should try. Usual options like GIMP, Paint.Net and IrfanView get a mention along with other less well known ones. Interestingly, Google’s Picasa is excluded from the list but that might be because it largely is an image file management tool even if it has some image editing capabilities too.
21:28 January 27, 2014
Late last week, I found out about the image file sorting tool PhotoSift via an article on the software. It looks interesting though I have yet to try it.
17:52 January 27, 2014
Here are some interesting reviews from TechRadar:
Best compact system camera 2014: the top models reviewed
Best tripod and camera support: 13 tested
The tripod heads review really caught my eye more than the others. After all, 2013 was the year that I got a CSC and a Manfrotto tripod has sat reproachingly in the corner far more often than it should.
19:41 January 16, 2014
Today, I spotted two interesting articles to which I want to retain links on here:
Managing the future of complex business and IT landscapes
Send large files to clients with these 8 free tools
Both of these ring bells for me for different reasons. The first is a reminder of a slow and painful system project with which I was involved and of an ineffective IT support service that pained us at the time. The second is ever present in my current job with its need to send data and output files to clients as well as receiving specifications from them.
19:36 January 4, 2014
In recent weeks, I have been having trouble with the onboard network controller on a spare PC that I have at home. It connects to the network fine for a few minutes and then struggles. Making use of an old PCI ethernet card that I had from another machine solved the problem. Does anyone know of issues with ASRock motherboards and onboard network ports at all? It isn’t something that I have seen before and this motherboard never had good networking capability as long as I have had it.
19:33 January 4, 2014
After Christmas, I took delivery of an HTC One mini mobile phone that I got free as part of a contract renewal with O2. It also is known as the M4 and I have been getting used to it since I got it. A lot is familiar and there are some little differences too. Some of these leave me asking why what worked well before got changed to something that is less smooth. Of course, that can be the course of things and it applies to buying a new car as much as getting a phone upgrade. All in all, the phone works well and battery life appears much improved over the HTC Desire S so far, never a bad thing to notice.
19:25 January 4, 2014
This morning, the hosting provider for this website had an outage that lasted over three hours. The provider was Fasthosts and the cause was a power failure. They usually are good so this thankfully does not happen too often. However, we have been getting a lot of stormy weather crossing Britain and Ireland this winter so I suspect that there should be little in the way of surprise when something like this happens. Weather is not due to settle during this month so there may be more power failures, hopefully elsewhere, before things settle down again.
17:20 January 3, 2014
On one WordPress website that I have, the refresh rate for RSS widgets wasn’t the quickest and the remedy was to add this line into the themes functions.php file:
add_filter( ‘wp_feed_cache_transient_lifetime’, create_function(‘$a’, ‘return 600;’) );
It creates a custom function that is attached to the widget and the refresh time is set to 600 seconds or 10 minutes. So far, this seems to be doing what I needed.
17:56 December 19, 2013
What I didn’t realise is that TRIM currently is not enabled in Ubuntu by default. That is set to change in Ubuntu 14.04 and here is some advice on the matter until then.
20:41 December 14, 2013
This weekend, I had visions of needing a new hard drive when all files on one in my main home PC (runs Ubuntu GNOME 13.10 64-bit) went read only. The cure was to re-seat the SATA cables and all was well again. Sometimes, inexpensive remedies are best and I need not to forget this one.
20:54 October 29, 2013
Here are two interesting articles that I spotted: the first is on new features in GNOME 3.10 and the second about getting DRM-protected Flash media playing on Ubuntu 13.10. For now, I am sticking with Ubuntu GNOME 13.04 in spite of a pop-up dialogue encouraging an upgrade to 13.10; the potential for even a little disruption is something that I am delaying for now.
20:34 October 16, 2013
While editing a file in Nano on an virtual Arch Linux web server that I have, I noticed that a file had DOS newline characters instead of UNIX ones so conversion using the dos2unix command was in order. There is more on this to be found on nixCraft and there are other options such as sed described in there too.
21:51 September 7, 2013
Following a look at Webmin, I have to say that it seems a worthy tool for remote management of servers. My trial so far has been on my Ubuntu virtual web server and it works on port 10000 without interfering with the operation of the actual web server. Being able to run system updates and deletion of MySQL databases without resorting to the command will seem a bonus for some. There’s more to it than these though and I have seen the possibility of managing virtual servers located within a real being mooted. It was an issue of Linux User & Developer than inspired me so my Linux magazine reading is seeing its uses.
20:30 September 4, 2013
Here are some interesting articles for anyone thinking about software development and its realities:
The care and feeding of software engineers (or, why engineers are grumpy)
Being an introvert as I am, this article really is something to which I can relate. Whenever I cannot get the space for undisturbed work, it takes from how I enjoy my job.
How designers and engineers can play nice (and still run with scissors)
We all have to work cross-functionally so you cannot have it all your own way…
Six reasons why the NHS National Programme for IT failed
Having been involved in system design, development and implementation myself, I have something to share that fits into the same topic area. Too many cooks can spoil a broth.
Queensland Government Bans IBM from IT Contracts
My past experiences of IBM have not been good and it wasn’t just where I worked either so this is not exactly a surprise. Service organisations need to ensure that they are sufficient responsive and flexible with empowered and enthusiastic staff who do the needful.
23:09 August 11, 2013
Vagrant and Puppet look like very interesting tools for working with virtual machines. They work with VirtualBox or VMware’s Fusion and Workstation so there’s a choice of virtualisation tool.
20:52 April 18, 2013
Crash reports have been appearing after logging into an Ubuntu session for /usr/share/hplip/config_usb_printer.py and it repeating has been reinstalling HPLIP software for my HP LaserJet 1018 printer too. Leaving the printer off until I need it would be one solution and saves some electricity too but it is best to try to sort an issue when you keep getting it. The first step was to download the latest HP software and install it. That wasn’t a complete solution so I altered the latest send_message function call in /usr/share/hplip/config_usb_printer.py from the following:
send_message( device_uri, printer_name, EVENT_DIAGNOSE_PRINTQUEUE, username, 0,”)
to:
send_message( device_uri, printer_name, EVENT_DIAGNOSE_PRINTQUEUE, ”, 0,”)
So far that alteration appears to have addressed the problem but I’ll be keeping an eye on things anyway. If you’re wondering, the inspiration came from a bug discussion on Launchpad and it was the queue clearing section of the Python script that I went and edited.
20:40 April 16, 2013
Recently, I have been having bother with WordPress Jetpack comment form submission. This was caused by the Bad Behaviour plugin and allowing cross site form submission sorted the problem. The setting to change is in Settings > Bad Behaviour on the Dashboard.
17:31 March 16, 2013
Here’s a quick way to make Faenza and Faience icons available to Ubuntu and maybe Linux Mint too:
sudo add-apt-repository ppa:tiheum/equinox
sudo apt-get update && sudo apt-get install faenza-icon-theme faience-*
20:53 February 19, 2013
During a look at a Fedora 18 Live DVD, I found a user name was needed to get to the desktop and root did the trick for me. What I didn’t notice was an install to hard drive option for the GNOME variant that I tried. Maybe it was hidden on the desktop and not displayed. If so, it looks like an oversight.
16:02 February 14, 2013
Here’s the way to find the version of PROC CDISC that came with the version of SAS that you are using:
proc cdisc version;
run;
14:00 February 14, 2013
Here’s robustness principal for software design that otherwise is known as Postel’s Law after TCP pioneer Jon Postel:
Be conservative in what you do, be liberal in what you accept from others
08:10 February 14, 2013
Here’s a command for removal of orphaned packages in Arch Linux and its derivatives (CinnArch and ArchBang come to mind but there may be others):
sudo pacman -Rns $(pacman -Qqtd)
15:11 January 26, 2013
Cinnarch looks very interesting. It’s based on Arch Linux so it’s a rolling distro but has Cinnamon as its desktop environment. Currently, it’s still in beta but I am tempted to give it a go in a virtual machine.
20:55 December 15, 2012
Having decided that my ever sluggish system needed a fresh operating system installation, I set to trying to get on Linux Mint 14. However, not remembering that the disk and not the partition needs specifying for GRUB installation cost me some time. Later, adding on GNOME Shell resulted in a system conflict between MDM and GDM so I now am running Ubuntu GNOME Remix instead. All feels fresher so far though a spot bother was had with the lock screen that caused me to turn off the feature. VMware Player installed without any of the trickery needed to get in its forbear and runs without a hitch so far too. Other bits and pieces need instating yet but the basis of a refreshed computing platform is in place now.
20:56 November 19, 2012
A look at Linux Mint 14 64-bit release candidate in a VirtualBox virtual machine confronted me with irritating mouse pointer behaviour. The pointer constantly darts to the left when you need it not to do that and it seriously affects usability. The final version will be awaited to see if there is an improvement because it’s not very usable as things stand. GNOME Shell can be installed in working order after a spot of fiddling. Installing the software from the Software Store doesn’t add gnome-session as well so the command line alternative remains best:
sudo apt-get install gnome-shell && sudo apt-get install gnome-session
These two really need packaging together as dependencies. Cinnamon is looking as nice as ever and in need of a plug-in that makes virtual desktops behave as they do in GNOME, even if that’s a minority interest now.
12:07 September 30, 2012
Here are commands for adding Cinnamon to Ubuntu:
sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
sudo apt-get update
sudo apt-get install cinnamon
14:39 September 29, 2012
Had a look at GNOME 3.6 in Ubuntu GNOME Remix 12.10 Beta 1 release. Not all extensions are supported yet but GNOME 3.6 only launched officially yesterday anyway. Will take a little while for those extension developers to catch up with it. No hurry in moving from GNOME 3.4 until they do so.
20:24 September 22, 2012
Picked up Netgear ethernet switcher at PC World today. Working without a hitch so far. Some network reorganisation may follow suit.
20:14 September 22, 2012
Initially, I needed to use the command “modprobe vboxdrv” to get VirtualBox going on Sabayon 10. However, there seems to be a better remedy: adding the line ‘modules=”vboxdrv vboxnetflt vboxnetadp”‘ (removing the outer single quotes, by the way) to /etc/conf.d/modules and restarting the system. That seems to have done the trick though I wonder it wasn’t added for me automatically.
13:08 September 22, 2012
Until recently, I hadn’t realised that most if not all SSD’s come in 2.5″ form factor. An extra bracket is needed for installing into 3.5″ drive bays. While tempting, this remains a nice to have upgrade for me.
20:02 September 21, 2012
Found out why my proftpd daemon wasn’t working on Linux Mint. Needed to set it as standalone and not inetd operation. It’s the ServerType setting in /etc/proftpd/proftpd.conf.
21:53 September 18, 2012
Given the site a new appearance. The cause was getting microblogging going on this page. Clashes with zeeDisplay theme and Twitter Tools made for replacements that now power what you see here. Jetpack plugin added too. All looking good to my eyes so far. More tinkering may happen yet.
21:36 September 15, 2012
Here are a few places where you will find Linux version information stored: /etc/issue, /etc/issue.net, /etc/lsb-release.
17:30 September 15, 2012
Desktop swapping can be done in Ubuntu and here’s the command for Xubuntu:
sudo apt-get install xubuntu-desktop
17:22 September 15, 2012
Here’s a set of commands that I once used to get GNOME Shell going for a Sabayon 9 installation in a VirtualBox virtual machine:
su
equo install --ask linux-sources
cd /run/media/john/VBOXADDITIONS_4.1.16_78094
./VBoxLinuxAdditions.run
mv /usr/libexec/gnome-session-check-accelerated-helper /usr/libexec/gnome-session-check-accelerated-helper.bak
ln -s /bin/true /usr/libexec/gnome-session-check-accelerated-helper
Hope they have a use though VirtualBox has gone through a few versions since I discovered that these had the desired effect though the login screen behaved a little oddly. Otherwise, everything worked as it should.
14:16 September 15, 2012
Pondering purchase of NAS. QNAP TS-412 looking promising but need to think about my home networking set up first. Might need an ethernet switch but plan to look into it more first, especially with uplink capability needed.
14:11 September 15, 2012
Appearance of Sabayon 10 caused a bit of disturbance to my Sabayon installation that needed installation from a DVD to resolve. Tried GRUB repairs before the non-loading of an Nvidia kernel module caused bother. Went for old fashioned approach for sake of saving a little troubleshooting time.
13:52 September 15, 2012
This has been added using the Live Blogging plugin and it’s good for pages too, unlike Automattic’s own Liveblog plugin. Maybe they’ll add that sort of functionality in time.
Though my main home PC runs Linux Mint, I do like to have the facility to use Windows software from time to time and virtualisation has allowed me to continue doing that. For a good while, it was a Windows 7 guest within a VirtualBox virtual machine and, before that, one running Windows XP fulfilled the same role. However, it did feel as if things were running slower in VirtualBox than once might have been the case and I jumped ship to VMware Player. It may be proprietary and closed source but it is free of charge and has been doing what was needed. A subsequent recent upgrade of video driver on the host operating system allowed the enabling of a better graphical environment in the Windows 7 guest.
Instability
However, there were issues with stability and I lost the ability to flit from the VM window to the Linux desktop at will with the system freezing on me and needing a reboot. Working in Windows 7 using full screen mode avoided this but it did feel as I was constrained to working in a Windows machine whenever I did so. The graphics performance was imperfect too with screening refreshing being very blocky with some momentary scrambling whenever I opened the Start menu. Others would not have been as patient with that as I was though there was the matter of an expensive Photoshop licence to be guarded too.
In hindsight, a bit of pruning could have helped. An example would have been driver housekeeping in the form of removing VirtualBox Guest Additions because they could have been conflicting with their VMware counterparts. For some reason, those thoughts entered my mind and I was pondering another more expensive option instead.
Considering NAS & Windows/Linux Networking
That would have taken the form of setting aside a PC for running Windows 7 and having a NAS for sharing files between it and my Linux system. In fact, I did get to exploring what a four bay QNAP TS-412 would offer me and realised that you cannot put normal desktop hard drives into devices like that. For a while, it looked as if it would be a matter of getting drives bundled with the device or acquiring enterprise grade disks so as to main the required continuity of operation. The final edition of PC Plus highlighted another one though: the Western Digital Red range. These are part way been desktop and enterprise classifications and have been developed in association with NAS makers too.
Looking at the NAS option certainly became an education but it has exited any sort of wish list that I have. After all, there is the cost of such a setup and it’s enough to get me asking if I really need such a thing. The purchase of a Netgear FS 605 ethernet switch would have helped incorporate it but there has been no trouble sorting alternative uses for it since it bumps up the number of networked devices that I can have, never a bad capability to have. As I was to find, there was a less expensive alternative that became sufficient for my needs.
In-situ Windows 8 Upgrade
Microsoft have been making available evaluation copies of Windows 8 Enterprise that last for 90 days before expiring. One is in my hands has been running faultlessly in a VMware virtual machine for the past few weeks. That made me wonder if upgrading from Windows 7 to Windows 8 help with my main Windows VM problems. Being a curious risk-taking type I decided to answer the question for myself using the £24.99 Windows Pro upgrade offer that Microsoft have been running for those not needing a disk up front; they need to pay £49.99 but you can get one afterwards for an extra £12.99 and £3.49 postage if you wish, a slightly cheaper option. There also was a time cost in that it occupied a lot of a weekend on me but it seems to have done what was needed so it was worth the outlay.
Given the element of risk, Photoshop was deactivated to be on the safe side. That wasn’t the only pre-upgrade action that was needed because the Windows 8 Pro 32-bit upgrade needs at least 16 GB before it will proceed. Of course, there was the matter of downloading the installer from the Microsoft website too. This took care of system evaluation and paying for the software as well as the actual upgrade itself.
The installation took a few hours with virtual machine reboots along the way. Naturally, the licence key was needed too as well as the selection of a few options though there weren’t many of these. Being able to carry over settings from the pre-exisiting Windows 7 instance certainly helped with this and with making the process smoother too. No software needed reinstatement and it doesn’t feel as if the system has forgotten very much at all, a successful outcome.
Post-upgrade Actions
Just because I had a working Windows 8 instance didn’t mean that there wasn’t more to be done. In fact, it was the post-upgrade sorting that took up more time than the actual installation. For one thing, my digital mapping software wouldn’t work without .Net Framework 3.5 and turning on the operating system feature form the Control Panel fell over at the point where it was being downloaded from the Microsoft Update website. Even removing Avira Internet Security after updating it to the latest version had no effect and it was a finding during the Windows 8 system evaluation process. The solution was to mount the Windows 8 Enterprise ISO installation image that I had and issue the following command from a command prompt running with administrative privileges (it’s all one line though that’s wrapped here):
dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs /LimitAccess
For sake of assurance regarding compatibility, Avira has been replaced with Trend Micro Titanium Internet Security. The Avira licence won’t go to waste since I have another another home in mind for it. Removing Avira without crashing Windows 8 proved impossible though and necessitating booting Windows 8 into Safe Mode. Because of much faster startup times, that cannot be achieved with a key press at the appropriate moment because the time window is too short now. One solution is to set the Safe Boot tickbox in the Boot tab of Msconfig (or System Configuration as it otherwise calls itself) before the machine is restarted. There may be others but this was the one that I used. With Avira removed, clearing the same setting and rebooting restored normal service.
Dealing with a Dual Personality
One observer has stated that Windows 8 gives you two operating systems for the price of one: the one in the Start screen and the one on the desktop. Having got to wanting to work with one at a time, I decided to make some adjustments. Adding Classic Shell got me back a Start menu and I left out the Windows Explorer (or File Explorer as it is known in Windows 8) and Internet Explorer components. Though Classic Shell will present a desktop like what we have been getting from Windows 7 by sweeping the Start screen out of the way for you, I found that this wasn’t quick enough for my liking so I added Skip Metro Suite to do this and it seemed to do that a little faster. The tool does more than sweeping the Start screen out of the way but I have switched off these functions. Classic Shell also has been configured so the Start screen can be accessed with a press of Windows key but you can have it as you wish. It has updated too so that boot into the desktop should be faster now. As for me, I’ll leave things as they are for now. Even the possibility of using Windows’ own functionality to go directly to the traditional desktop will be left untested while things are left to settle. Tinkering can need a break.
Outcome
After all that effort, I now have a seemingly more stable Windows virtual machine running Windows 8. Flitting between it and other Linux desktop applications has not caused a system freeze so far and that was the result that I wanted. There now is no need to consider having separate Windows and Linux PC’s with a NAS for sharing files between them so that option is well off my wish-list. There are better uses for my money.
Not everyone has had my experience though because I saw a report that one user failed to update a physical machine to Windows 8 and installed Ubuntu instead; they were a Linux user anyway even if they used Fedora more than Ubuntu. It is possible to roll back from Windows 8 to the previous version of Windows because there is a windows.old directory left primarily for that purpose. However, that may not help you if you have a partially operating system that doesn’t allow you to do just that. In time, I’ll remove it using the Disk Clean-up utility by asking it to remove previous Windows installations or running File Explorer with administrator privileges. Somehow, the former approach sounds the safer.
What About Installing Afresh?
While there was a time when I went solely for upgrades when moving from one version of Windows to the next, the annoyance of the process got to me. If I had known that installing the upgrade twice onto a computer with a clean disk would suffice, it would have saved me a lot. Staring from Windows 95 (from the days when you got a full installation disk with a PC and not the rescue media that we get now) and moving through a sequence of successors not only was time consuming but it also revealed the limitations of the first in the series when it came to supporting more recent hardware. It was enough to have me buying the full retailed editions of Windows XP and Windows 7 when they were released; the latter got downloaded directly from Microsoft. These were retail versions that you could move from one computer to another but Windows 8 will not be like that. In fact, you will need to get its System Builder edition from a reseller and that can only be used on one machine. It is the merging of the former retail and OEM product offerings.
What I have been reading is that the market for full retail versions of Windows was not a big one anyway. However, it was how I used to work as you have read above and it does give you a fresh system. Most probably get Windows with a new PC and don’t go building them from scratch like I have done for more than a decade. Maybe the System Builder version would apply to me anyway and it appears to be intended for virtual machine use as well as on physical ones. More care will be needed with those licences by the looks of things and I wonder what needs not to be changed so as not to invalidate a licence. After all, making a mistake might cost between £75 and £120 depending on the edition.
Final Thoughts
So far Windows 8 is treating me well and I have managed to bend to my will too, always a good thing to be able to say. In time, it might be that a System Builder copy could need buying yet but I’ll leave well alone for now. Though I needed new security software, the upgrade still saved me money over a hardware solution to my home computing needs and I have a backup disk on order from Microsoft too. That I have had to spend some time settling things was a means of learning new things for me but others may not be so patient and, with Windows 7 working well enough for most, you have to ask if it’s only curious folk like me who are taking the plunge. Still, the dramatic change has re-energised the PC world in an era when smartphones and tablets have made so much of the running recently. That too is no bad thing because an unchanging technology is one that dies and there are times when big changes are needed, as much as they upset some folk. For Microsoft, this looks like one of them and it’ll be interesting to see where things go from here for PC technology.
Here’s a trick that might have its uses: using a local WordPress instance to update your online blog (yes, there are plenty of applications that promise to edit your online blog but these need file permissions to the likes of xmlrpc.php to be opened up). Along with the right database access credentials and the ability to log in remotely, adding the following two lines to wp-config.php does the trick:
define('WP_SITEURL', 'http://localhost/blog');
define('WP_HOME', 'http://localhost/blog');
These two constants override what is in the database and allow to update the online database from your own PC using WordPress running on a local web server (Apache or otherwise). One thing to remember here is that both online and offline directory structures are similar. For example, if your online WordPress files are in blog in the root of the online web server file system (typically htdocs for Linux), then they need to be contained in the same directory in the root of the offline server too. Otherwise, things could get confusing and perhaps messy. Another thing to consider is that you are modifying your online blog so the usual rules about care and attention apply, particularly with respect to using the same version of WordPress both locally and remotely. This is especially a concern if you, like me, run development versions of WordPress to see if there are any upheavals ahead of us like the overhaul that is coming in with WordPress 2.7.
An alternative use of this same trick is to keep a local copy of your online database in case of any problems while using a local WordPress instance to work with it. I used to have to edit the database backup directly (on my main Ubuntu system), first with GEdit but then using a sed command like the following:
sed -e s/www\.onlinewebsite\.com/localhost/g backup.sql > backup_l.sql
The -e switch uses regular expression substitution that follows it to edit the input with the output being directed to a new file. It’s slicker than the interactive GEdit route but has been made redundant by defining constants for a local WordPress installation as described above.
So as not to deface anything that is available online on the web, I have a tendency to set up an offline Apache server on a home PC to do any tinkering away from the eyes of the unsuspecting public. Though Ubuntu is my mainstay for home computing, I do have a PC with Fedora installed and I have been trying to get an Apache instance starting automatically on there without success for a few months. While I can start it by running the following command as root, I’d rather not have more manual steps than is necessary.
httpd -k start
The command used by the system when it starts is different and, even when manually run as root, it failed with messages saying that it couldn’t find the directory while the web server files are stored. Here it is:
service httpd start
The default document root location on any Linux distribution that I have seen is /var/www and all is very well with this but it isn’t a safe place to leave things if ever a re-installation is needed. Having needed to wipe /var after having it on a separate disk or partition for the sake of one installation, it doesn’t look so persistent to me. In contrast, you can safeguard /home by having it on another disk or in a dedicated partition and it can be retained even when you change the distro that you’re using. Thus, I have got into the habit of having the root of the web server document root folder in my home area and that is where I have been seeing the problem.
Because of the access message, I tried using chmod and chgrp but to no avail. The remedy has to do with reassigning the security contexts used by SELinux. In Fedora, Apache will not work with the context user_home_t that is usually associated with home directories but needs httpd_sys_content_t instead. To find out what contexts are associated with particular folders, issue the following command:
ls -Z
The final solution was to create a user account whose home directory hosts the root of the web server file system, called www in my case. Then, I executed the following command as root to get things going:
chcon -R -h -t httpd_sys_content_t /home/www
It seems that even the root of the home directory has to have an appropriate security context (/home has home_root_t so that might do the needful too). Without that, nothing will work even if all is well at the next level down. The switches for chcon command translate as follows:
-R : recursive; applies changes to all files and folders within a directory.
-h : changes apply only to symbolic links and not to where they refer in the file system.
-t : alters context type.
It took a while for all of this stuff about SELinux security contexts to percolate through to the point where I was able to solve the problem. A spot of further inspiration was needed too and even guided my search for the information that I needed. It’s well worth trying Linux Home Networking if you need more information. There are references to an earlier release of Fedora but the content still applies to later versions of Fedora right up to the current release if my experience is typical.
One of the disadvantages of my Google/Asus Nexus 7 is that it needs a Wi-Fi connection to use. Most of the time this is not a problem since I also have a Huawei mobile WiFi hub from T-Mobile and this seems to work just about anywhere in the U.K. Away from the U.K. though, it won’t work because roaming is not switched on for it and that may be no bad thing with the fees that could introduce. My HTC Desire S could deputise but I need to watch costs with that too.
There’s also the factor of download caps and those apply both to the Huawei and to the HTC. Recently, I added Anquet‘s Outdoor Map Navigator (OMN) to my Nexus 7 through the Google Play store for a fee of £7 and that allows access to any walking maps that I have bought from Anquet. However, those are large downloads so the caps start to come into play. Frugality would help but I began to look at other possibilities that make use of a laptop’s Wi-Fi functionality.
Looking on the web, I found two options for this that work on Windows 7 (8 should be OK too): Connectify Hotspot and Virtual Router Manager. The first of these is commercial software but there is a Lite edition for those wanting to try it out; that it is not a time limited demo is not something that I can confirm though that did not seem to be the case since it looked as if only features were missing from it that you’d get if you paid for the Pro variant. The second option is an open source one and is free of charge apart from an invitation to donate to the project.
Though online tutorials show the usage of either of these to be straightforward, my experiences were not all that positive at the outset. In fact, there was something that I needed to do and that is why this post has come to exist at all. That happened even after the restart that Conectify Hotspot needed as part of its installation; it runs as a system service so that’s why the restart was needed. In fact, it was Virtual Router Manager that told me what the issue was and it needed no reboot. Neither did it cause network disconnection of a laptop like the Connectify offering did on me and that was the cause of its ejection from that system; limitations in favour of its paid addition aside, it may have the snazzier interface but I’ll take effective simplicity any day.
Using Virtual Router Manager turns out to be simple enough. It needs a network name (also known as an SSID), a password to restrict who accesses the network and the internet connection to be shared. In my case, the was Local Area Connection on the drop down list. With all the required information entered, I was ready to start the router using the Start Network Router button. The text on this changes to Stop Network Router when the hub is operational or at least it should have done for me on the first time that I ran it. What I got instead was the following message:
The group or resource is not in the correct state to perform the requested operation.
The above may not say all that much but it becomes more than ample information if you enter it into the likes of Google. Behind the scenes, Virtual Router Manager is using native Windows functionality is create a WiFi hub from a PC and it appears to be the Microsoft Virtual Wi-Fi Miniport Adapter from what I have seen. When I tried setting up an adhoc Wi-Fi network from a laptop to the Nexus 7 using Windows’ own network set up capability via its Control Panel, it didn’t do what I needed so there might be something that third party software can do. So, the interesting thing about the solution to my Virtual Router Manager problem was that it needed me to delve into the innards of Windows a little.
Firstly, there’s running Command Prompt (All Programs > Accessories) from the Start Menu with Administrator privileges. It helps here if the account with which you log into Windows is in the Administrators group since all you have to do then is right click on the Start Menu entry and choose Run as administrator entry in the pop-up context menu. With a command line window now open, you then need to issue the following command:
netsh wlan set hostednetwork mode=allow ssid=[network name] key=[password] keyUsage=persistent
When that had done its thing, Virtual Router Manager worked without a hitch though it did turn itself after a while and that may be no bad thing from the security standpoint. On the Android side, it was a matter of going in Settings > Wi-Fi and choose the new network that have been creating on the laptop. This sort of thing may apply to other types of tablet (Dare I mention iPads?) so you could connect anything to the hub without needing to do any more on the Windows side.
For those wanting to know what’s going on behind the scenes on Windows, there’s a useful tutorial on Instructables that shows what third party software is saving you from having to do. Even if I never go down the more DIY route, I probably have saved myself having to buy a mobile Wi-Fi hub for any trips to Éire. For now, the Irish 3G dongle that I already have should be enough.
Recently, I shared my thoughts on learning new computing languages by oneself using books, online research and personal practice. As successful as that can be, there remains a place for getting some actual instruction as well. Maybe that is why so many turn to YouTube, where there is a multitude of video channels offering such possibilities without cost. What I have also discovered is that this is complemented by a host of other providers whose services attract a fee, and there will be a few of those mentioned later in this post. Paying for online courses does mean that you can get the benefit of curation and an added assurance of quality in what appears to be a growing market.
The variation in quality can dog the YouTube approach, and it also can be tricky to find something good, even if the platform does suggest new videos based on what you have been watching. Much of what is found there does take the form of webinars from the likes of the Why R? Foundation, Posit or the NHSR Community. These can be useful, and there are shorter videos from such providers as the Association of Computing Machinery or SAS Users. These do help more if you already have some knowledge about the topic area being discussed, so they may not make the best starting points for someone who is starting from scratch.
Of course, working your way through a good book will help, and it is something that I have been known to do, but supplementing this with one or more video courses really adds to the experience and I have done a few of these on LinkedIn. That part of the professional platform came from the acquisition of Lynda.com and the topic areas range from soft skills like time management through to computing skills courses with R, SAS and Python seeing coverage among the data science portfolio. Even O’Reilly has ventured into the area in an expansion from the book publishing activities for which so many of us know the organisation.
The available online instructor community does not stop at the above since there are others like Degreed, Baeldung, Udacity, Programiz, Udemy, Business Science and Datanovia. Some of these tend towards online education provision that feels more like an online university course and those are numerous as well as you will find through Data Science Central or KDNuggets. Both of these earn income from advertising to pay for featured blog posts and newsletters, while the former also organises regular webinars and was my first port of call when I became curious about the world of data science during the autumn of 2017.
My point of approach into the world of online training has been as a freelance information professional needing to keep up to date with a rapidly changing field. The mix of content that is both free of charge and that which attracts a fee is one that can work. Both kinds do complement each other while possessing their unique advantages and disadvantages. The need to continually expand skills and knowledge never goes away, so it is well worth spending some time working what you are after, since you need to be sure that any training always adds to your own knowledge and skill level.